import { commonTableOptions } from "@/utils/util";


export function baseOption () {
  const self = this
  return {
    ...commonTableOptions,
    height: 300,
    submitBtn: false,
    emptyBtn: false,
    menu: false,
    span: 24,
    detail: true,
    column: [
      {
        label: '机构名称',
        prop: 'tenantName',
      },
      {
        label: '超管',
        prop: 'userName',
      },
      {
        label: '账号',
        prop: 'account',
      },
      {
        label: '域名',
        prop: 'subDomain',
      }
    ]
  }
}

// 授权

export function tableOption () {
  const self = this
  return {
    ...commonTableOptions,
    // height: 400,
    submitBtn: false,
    emptyBtn: false,
    labelWidth: 150,
    menu: false,
    detail: true,
    column: [
      {
        label: '船舶名称',
        prop: 'shipName',
      },
      {
        label: 'MMSI',
        prop: 'mmsi',
      },
      {
        label: '所属船企',
        prop: 'tenantName',
      }
    ]
  }
}
